package com.tomorrowbbs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户附件下载对象 forum_article_attachment_download
 * 
 * @author zjz
 * @date 2024-11-09
 */
public class ForumArticleAttachmentDownload
{
    private static final long serialVersionUID = 1L;

    /** 文件ID */
    private String fileId;

    /** 用户id */
    private String userId;

    /** 文章ID */
    private String articleId;

    /** 文件下载次数 */
    private Long downloadCount;

    public void setFileId(String fileId) 
    {
        this.fileId = fileId;
    }

    public String getFileId() 
    {
        return fileId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setArticleId(String articleId) 
    {
        this.articleId = articleId;
    }

    public String getArticleId() 
    {
        return articleId;
    }
    public void setDownloadCount(Long downloadCount) 
    {
        this.downloadCount = downloadCount;
    }

    public Long getDownloadCount() 
    {
        return downloadCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("userId", getUserId())
            .append("articleId", getArticleId())
            .append("downloadCount", getDownloadCount())
            .toString();
    }
}
